<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta name="viewport"  content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"/>
    <link rel="stylesheet" href="../css/Token_Start.css"/>
    <link rel="stylesheet" href="../common/common.css"/>
    <title> 资产</title>
    <style>
    	.Asseta_capt li {width: 100%;display: inline-block;}
    </style>
</head>
<body>
<!--头部导航-->
<header class="Assets_header">
    <div>
        <span>资 产</span>
        <span class="Assets-right" data-toggle-more="0">
            <img src="../img/head-more.png" id="asideImg" alt=""/>
        </span>
    </div>
</header>
<!--内容-->
<div class="wallet-body">
    <div class="Assets_crate">
        <span><img src="../img/binbinbin.png" alt=""/><br/>
            <span class="Money_Name" id="moneyName" data-address="0" data-wltid="0">MYTOKEN</span>
            <span class="Assets_code"> <span class="js-assets-code">0xe58252...92SAsxcsgA9f37</span>&nbsp;&nbsp;
                <span class="link-add"><img src="../img/share1.png" alt=""/></span><span class="back-up">请备份</span>
            </span>
        </span>
        <div class="Assets_Price">
            <p> <span>≈ 2.27</span>   <p>总资产(￥)</p>  </p>
            <p class="Asseta_Append" id="queryAsset"><img src="../img/append2.png" alt="" /></p>
        </div>
    </div>


    <div class="Asseta_capt">
        <ul id="assetAll">
            <li class="fix-clear">
                <span class="pull-left">
                    <img src="../img/ether.png" alt=""/>
                    <span>ETH</span></span>
                <span>0.00000</span>
               
            </li>
			<!-- <li class="fix-clear">
                <span class="pull-left">
                    <img src="../img/ether.png" alt=""/>
                    <span>ETH</span></span>
                <span>0.00000</span>
               
            </li>
            <li class="fix-clear" >
                <span class="pull-left">
                    <img src="../img/ether.png" alt=""/>
                    <span>ETH</span></span>
                <span>0.00000</span>
              
            </li> -->
        </ul>
    </div>
</div>
<!--侧边栏-->
<aside class="right-aside">
    <div class="Assets_body">
        <ul class="address-xz">
            <li class="curr"><a ><i class="icon Money_Name1"></i> 钱包地址1 <span  class="pull-right wallet-right-img"></span></a></li>
            <li><a ><i class="icon Money_Name1"></i> 钱包地址2 <span class="pull-right wallet-right-img"></span></a></li>
            <li><a ><i class="icon Money_Name1"></i> 钱包地址3 <span class="pull-right wallet-right-img"></span></a></li>
            <li class="aside_line"></li>
        </ul>
        <ul class="address-act">
        	<li><a><i class="icon saoyisao"></i> 扫一扫 <span class="pull-right wallet-right-img"></span></a></li>
            <li><a href="Token_Assets/Token_append_money.html"><i class="icon new_money"></i>创建钱包  <span class="pull-right wallet-right-img"></span></a></li>
        </ul>
    </div>
</aside>
<!--底部-->
<footer>
    <div class="foot-bottom-div">
        <ul class="foot-bottom">
            <li class="curr"><i class="icon-asset"></i><p>资产</p></li>
            <li><a href="../Token_Start.html"><i class="icon-market "></i><p>行情</p></a></li>
            <li><a href="Token_Trading/Token_Trading.html"><i class="icon-trade"></i><p>交易</p></a></li>
            <li><a href="Token_My.html"><i class="icon-person"></i><p>我的</p></a></li>
        </ul>
    </div>
</footer>
<!--//模态框-->
<div class="Assets_Bomb_BOX">
    <div class="Assets_Bomb_Border_jp">
        <div class="Assets_Bomb_Content_jp">
            <div class="Assets_home_Jump">
                <div class="Assets_header_jp">
                    <div><img src="../img/binbinbin.png" alt=""/> <span id="token_name">my Token</span></div>
                    <div><img src="../img/share2.png" alt=""/></div>
                </div>
                <div class="Assets_Code_jp">
                <span>
                    <div id="qrcode"></div>
                    <span class="code_address" id="drees_code" ></span>
                </span>
                </div>

                <span id="LooK_COPY" data-clipboard-target="#drees_code">复 制 收 款 地 址</span>
            </div>
            <div class="Assets_Bomb_close">
                <span id="Assets_close"><img src="../img/start_close.png" alt=""/></span>
            </div>
        </div>
    </div>
</div>


<script src="../js/jquery-3.2.1.min.js"></script>
<script src="../js/clipboard.min.js"></script>
<script type="text/javascript" src="Token_Assets/js/token_asset.js"></script>
<script type="text/javascript" src="Token_Assets/js/qrcode.js"></script>
<script>
  
    $().ready(function(){
    	$(".right-aside").on("click",function(){
    		var widthBody="-"+$("body").css("width");
    		$(".Assets-right").data("toggle-more",0);
            $(".right-aside").animate({right:widthBody},200);
    		 $("#asideImg").attr("src","../img/head-more.png");
    	})
    	})
    
    $("#moneyBack").click(function(){
        location.href="Token_My.html";
    })
    
    $("#queryAsset").on("click",function(){
    	var address=$("#moneyName").data("address");
    	location.href="Token_Assets/Token_assets_add.html?address="+address;
    })
	

    //模态框
    var clipboard = new Clipboard('#LooK_COPY');
    //优雅降级:safari 版本号>=10,提示复制成功;否则提示需在文字选中后，手动选择“拷贝”进行复制
    clipboard.on('success', function(e) {
        alert('复制成功!')
        e.clearSelection();
    });
    clipboard.on('error', function(e) {
        alert('请选择“拷贝”进行复制!')
    });

    //    模态框
    $('#Assets_close').click(function () {
        $('.Assets_Bomb_BOX').css("display","none")
    });
    $('.Assets_code img').click(function () {
        $('.Assets_Bomb_BOX').css("display","block")
    });

    $(".Asseta_capt li").click(function(){
        location.href="Token_Assets/Token_assets_ETH.html";
    })
	
	

</script>
</body>
</html>